package com.gba.mark.exam.entity;



import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;


import java.io.Serializable;

@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("exam_result")
public class ExamResult implements Serializable{


    private static final long serialVersionUID = 1L;

    @TableId(value = "id",type = IdType.AUTO)
    //主键
    private Integer id;

    //联合主键，用户id
    private Integer userId;

    //工作组
    private Integer groupId;

    //考试成绩
    private float score;

}
